import { Button, ButtonProps } from 'antd';
import { VerifyUtil } from '../../util/Verify';
interface MinusCountButtonProps extends ButtonProps {
  onCustomClick: () => void;
}
export const MinusCountButton = (props: MinusCountButtonProps) => {
  const { onCustomClick } = props;
  return (
    <Button
      type="primary"
      onClick={() => {
        VerifyUtil.minusUseCount();
        onCustomClick();
      }}
    >
      3.执行转换
    </Button>
  );
};
